<template>
  <div class="itemOuter">
    <h3>{{ title }}分类</h3>
    <ul>
      <li v-for="item in content" :key="item">
        {{ item }}
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props: ['id', 'content', 'title']
}
</script>

<style scoped>
.itemOuter {
  width: 200px;
  height: 300px;
  border: 1px solid #000;
}
.itemOuter h3 {
  text-align: center;
  background: orange;
}
</style>